<% form_for :product, @product, :url => { :action => "create" } do |f| %>
	<p>
		<%= f.label :names %><br />
    	<%= f.text_field :names %>
	</p>
	
	<p>
		<%= f.submit 'Create' %>
	</p>
<% end %>

<% content_for :head do %>
	<title>Add singleton to table</title>
<% end %>
<% content_for :header do %>
	<h1>New Products</h1>
<% end %>
<% content_for :footer do %>
	<%= link_to "home", :controller => "products", :action => "index" %>
<% end %>